Skip to main content

Module: Category

Interfaces

Functions

Category

Category(inProps): JSX.Element

API documentation for the Community-JS Category Template. Learn about the available props and the CSS API.

This component renders a specific category's template. Take a look at our demo component here

Import

import {Category} from '@selfcommunity/react-templates';

Component Name

The name SCCategoryTemplate can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCCategoryTemplate-rootStyles applied to the root element.
feed.SCCategoryTemplate-feedStyles applied to the feed element.

Parameters

NameType
inPropsCategoryProps

Returns

JSX.Element

Defined in

Category/Category.tsx:98


CategorySkeleton

CategorySkeleton(): JSX.Element

API documentation for the Community-JS Category Skeleton Template. Learn about the available props and the CSS API.

Import

import {CategorySkeleton} from '@selfcommunity/react-templates';

Component Name

The name SCCategoryTemplate-skeleton-root can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCCategoryTemplate-skeleton-rootStyles applied to the root element.

Returns

JSX.Element

Defined in

Category/Skeleton.tsx:37